setUniqueId

fun setUniqueId(context: Context, uniqueId: Any)

Deprecated

This method is deprecated in favour of identifyUser(). This method will be removed in 15.00.00.

Replace with

MoEAnalyticsHelper.identifyUser()

Set an Unique Identifier for the user.

Note: This API only accepts the below data-types:

String, Int, Long, Double

Since

12.0.00

Parameters

uniqueId

identifier


fun setUniqueId(context: Context, uniqueId: Any, appId: String)

Deprecated

This method is deprecated in favour of identifyUser(). This method will be removed in 15.00.00.

Replace with

MoEAnalyticsHelper.identifyUser()

Set an Unique Identifier for the user.

Note: This API only accepts the below data-types:

String, Int, Long, Double

Since

12.0.00

Parameters

uniqueId

identifier

appId

Account identifier, APP ID on the MoEngage Dashboard.